<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf in action</title></head>
<body>
    <div th:replace="~{fragments/header::header}"></div>
    <h3 th:text="${usermodel.title}"></h3>
    <div>
        <p><strong>ID：</strong><span th:text="${usermodel.user.id}"></span></p>
        <p><strong>NAME：</strong><span th:text="${usermodel.user.name}"></span></p>
        <p><strong>EMAIL：</strong><span th:text="${usermodel.user.email}"></span></p>
    </div>
    <div>
        <a th:href="@{'/users/delete/'+${usermodel.user.id}}">删除</a>
        <a th:href="@{'/users/update/'+${usermodel.user.id}}">修改</a>
    </div>
    <div th:replace="~{fragments/footer::footer}"></div>
</body>
</html>